package routers

import (
	"ssims/controllers"

	"github.com/gin-gonic/gin"
)

func studentRouter(r *gin.RouterGroup) {
	r.GET("/student", controllers.GetStudent)
	r.DELETE("/student", controllers.DelStudent)
	r.GET("/tongjir", controllers.GetNumbers)
	r.GET("/tongjira", controllers.GetNumbera)
	r.GET("/tongjirp",controllers.GetNumberp)
	r.PUT("/student", controllers.UpdateStudent)
	r.POST("/student", controllers.AddStudent)
}
